<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .father{
            width: 300px;
            height: 300px;
            padding: 10px;
            margin: 10px;
            background-color: red;
        }
        .son{
            background-color: yellow;
        }
        .ieson{
            width: 200px;
            height: 200px;
            padding: 10px;
            margin: 10px;
            border: 10px solid #fff;
            background-color: pink;
            box-sizing: border-box;
        }
    </style>
</head>
<body>
    <div class="father">
        this is father 标准盒模型的盒子大小由width、height、padding、border、margin共同决定
        <div class="ieson">
            this is ieson ie盒模型的盒子大小之由width\height和margin决定 f12看一下就懂了
        </div>
    </div>
</body>
</html>